"use strict";
exports.__esModule = true;
var 路径 = require("path");
var 配置 = {
    projectName: 'yanshi',
    date: '2022-2-27',
    designWidth: 750,
    deviceRatio: {
        640: 2.34 / 2,
        750: 1,
        828: 1.81 / 2
    },
    sourceRoot: '代码',
    outputRoot: "\u53D1\u5E03/" + process.env["" + "TARO_ENV" /* 芋头_环境 */],
    plugins: [],
    defineConstants: {},
    alias: {
        '@/页眉': 路径.resolve(__dirname, '..', '代码/组件/页眉/页眉'),
        '@/页脚': 路径.resolve(__dirname, '..', '代码/组件/页脚/页脚'),
        '@/公共样式.样': 路径.resolve(__dirname, '..', '代码/样式/公共样式.样'),
        '@/资产': 路径.resolve(__dirname, '..', '代码/资产')
    },
    copy: {
        patterns: [],
        options: {}
    },
    framework: "" + "react" /* 回应 */,
    mini: {
        miniCssExtractPluginOption: {
            //忽略样式文件引入顺序
            ignoreOrder: true
        }
    },
    h5: {
        publicPath: '/',
        staticDirectory: "" + "static" /* 静态 */,
        output: {
            filename: "js/[" + "name" /* 名字 */ + "].[" + "hash" /* 散列 */ + "].js",
            chunkFilename: "js/[" + "name" /* 名字 */ + "].[[" + "chunkhash" /* 块散列 */ + "].js"
        },
        imageUrlLoaderOption: {
            limit: 5000,
            name: "static" /* 静态 */ + "/" + "images" /* 图片集 */ + "/[" + "name" /* 名字 */ + "].[" + "hash" /* 散列 */ + "].[" + "ext" /* 扩展 */ + "]"
        },
        miniCssExtractPluginOption: {
            filename: "css/[" + "name" /* 名字 */ + "].[" + "hash" /* 散列 */ + "].css",
            chunkFilename: "css/[" + "name" /* 名字 */ + "].[" + "chunkhash" /* 块散列 */ + "].css"
        }
    }
};
module.exports = function (合并) {
    if (process.env.NODE_ENV === "development") {
        return 合并({}, 配置, require('./开发'));
    }
    return 合并({}, 配置, require('./产品'));
};
